package top.linyuxb.lycloud.gateway.starter.exception;

import lombok.Getter;

/**
 * Created by Intellij IDEA.
 *
 * @Author: linyuxb
 * @Date: 2024/8/16 17:47
 * @Desc: 异常编码
 */
@Getter
public enum ResponseCodeEnum {
    SUCCESS(0, "success"),
    FAILED(-1, "failed"),
;

    private final int code;
    private final String message;

    ResponseCodeEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

}
